package com.qiwo.webshow.domain;


import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.activerecord.Model;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 
 * <pre>
 *  @author  chenwenchao
 *  @date 2018-10-23 14:38:38
 * 系列介绍表
 * </pre>
 * <small> 2018-10-23 14:38:38 | chenwenchao</small>
 */
@Data
@SuppressWarnings("serial")
@TableName("tb_seriesintro")
@EqualsAndHashCode(callSuper=true) 
public class SeriesintroDO  extends Model<SeriesintroDO> implements Serializable {
	@TableId
	private Long id;

    /** 系列详情-名称 */
    @ApiModelProperty("系列详情-名称")
    @TableField("name")
    private String name;


    @TableField(exist = false)
    @ApiModelProperty("系列名称")
    private String seriesName;

    /** 系列id */
    @ApiModelProperty("系列id")
    @TableField("series_id")
    private Long seriesId;

    /** 系列介绍 */
    @ApiModelProperty("系列介绍")
    @TableField("content")
    private String content;

    private  Integer sort;

        @Override
        protected Serializable pkVal(){
            return this.id;
        }
}
